import { defineStore } from "pinia";
import Validator from '@/utils/Validator'
import {queryList} from '@/module/cms/api/category'
const useCateStore = defineStore('cmscate', () => {
    // 分类列表
    const cates = ref([])
    // 查询分类列表
    function getList(){
        return new Promise(function(resolve,reject){
            
        })
    }

    return { cates, getList }
})
export default useCateStore